package cn.lijida.weiwei.emailServer.entity;

import java.io.Serializable;
import java.util.HashMap;

/**
 * Email封装类 
 * 创建者 魏巍
 * 创建时间 2018年7月3日
 *
 */
public class Email implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = -6349876987732622842L;
	
	//必填参数
	//接收方邮件
    private String email;
    
    //主题
    private String subject;
    
    //邮件内容
    //选填
    private String content;
    
    //模板
    private String template;
    
    // 自定义参数
    private HashMap<String, String> kvMap;

    public Email() {
		// TODO Auto-generated constructor stub
	}
    
	public Email(String email, String subject, String content, String template) {
		this.email = email;
		this.subject = subject;
		this.content = content;
		this.template = template;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTemplate() {
		return template;
	}

	public void setTemplate(String template) {
		this.template = template;
	}

	public HashMap<String, String> getKvMap() {
		return kvMap;
	}

	public void setKvMap(HashMap<String, String> kvMap) {
		this.kvMap = kvMap;
	}
}
